package homework.Exercise1;

class Student {
    //last name, first name, student number, phone number and email (university email address).
    private String lastName;
    private String firstName;
    private int num;
    private String phoneNumber;
    private String email;

    public Student() {
    }

    public Student(String lastName, String firstName, int num, String phoneNumber, String email) {
        this.lastName = lastName;
        this.firstName = firstName;
        this.num = num;
        this.phoneNumber = phoneNumber;
        this.email = email;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
